//
//  NSImage+VIPExtention.h
//  fasdf
//
//  Created by My mac on 2019/3/6.
//  Copyright © 2019年 VIPCODE. All rights reserved.
//

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSImage (VIPExtention)

- (CGImageRef)CGImage;
+ (instancetype)imageWithCGImage:(CGImageRef)cgImage;
+ (NSArray *)tt_imageWithGif:(NSString *)gifName;
- (NSArray *)cropNum:(NSInteger)count;
+ (NSArray *)cropImage:(NSImage *)image num:(NSInteger)count;
+ (instancetype)cropImage:(NSImage *)originalImage cropRect:(CGRect)frame;
+ (NSArray *)tt_imageWithGifPathUrl:(NSURL *)gifNamePathUrl;
+ (NSDictionary *)tt_imageTimeArrWithGifPathUrl:(NSURL *)gifNamePathUrl;
@end

NS_ASSUME_NONNULL_END
